<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{&title} &rsaquo; 注册 &rsaquo; Powered by ThinkBLOG</title>
<link rel='stylesheet' id='login-css' href='../Public/admin/css/login.css?ver=20110529' type='text/css' media='all'/>
<link rel='stylesheet' id='colors-fresh-css' href='../Public/admin/css/colors-fresh.css?ver=20110529' type='text/css' media='all'/>
<style type="text/css" media="screen">
* { font: 12px Segoe UI,Tahoma,Arial,Verdana,simsun,sans-serif,"Microsoft YaHei"; }
</style>
<load href="../Public/js/jquery.js"/>
<load href="../Public/admin/js/Base.js"/>
<load href="../Public/admin/js/ThinkAjax.js"/>
<script type="text/javascript">
ThinkAjax.image = ['../Public/admin/images/loading.gif','',''];
function registerHandle(data,status) {
	if (status==1) {
		setTimeout("window.location.href = '{:U('Admin-Privilege/login')}'", 2000);
	} else {
		addLoadEvent(function(){ var p=new Array(15,30,15,0,-15,-30,-15,0);p=p.concat(p.concat(p));var i=document.forms[0].id;g(i).position='relative';shake(i,p,20);});
	}
}
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
function s(id,pos){g(id).left=pos+'px';}
function g(id){return document.getElementById(id).style;}
function shake(id,a,d){c=a.shift();s(id,c);if(a.length>0){setTimeout(function(){shake(id,a,d);},d);}else{try{g(id).position='static';wp_attempt_focus();}catch(e){}}}
</script>
</head>
<body class="login">
<div id="login">
	<h1><a href="http://www.yurnero.net/" title="基于 ThinkBLOG">{&title}</a></h1>
	<p class="message register">
		在这个站点注册
	</p>
	<div id="login_error">
	</div>
	<form name="registerform" id="registerform" action="{:U('Admin-Privilege/registration')}" method="post">
		<p>
			<label>用户名<br/>
			<input type="text" name="username" id="username" class="input" value="" size="20" tabindex="10"/></label>
		</p>
		<p>
			<label>电子邮件<br/>
			<input type="text" name="email" id="email" class="input" value="" size="25" tabindex="20"/></label>
		</p>
		<p id="reg_passmail">
			密码将通过电子邮件发送给您。
		</p>
		<p class="submit">
			<input type="submit" name="cmt-submit" id="cmt-submit" class="button-primary" value="注册" tabindex="100" onclick="ThinkAjax.sendForm('registerform','{:U('Admin-Privilege/registration')}',registerHandle,'login_error');"/>
			<input type="hidden" name="ajax" value="1">
		</p>
	</form>
	<p id="nav">
		<a href="{:U('Admin-Privilege/login')}">登录</a> | <a href="{:U('Admin-Privilege/lostPassword')}" title="找回密码">忘记密码？</a>
	</p>
	<p id="backtoblog">
		<a href="{&website}" title="不知道自己在哪？">&larr; 回到 {&title}</a>
	</p>
</div>
<script type="text/javascript">
try{document.getElementById('username').focus();}catch(e){}
if(typeof wpOnload=='function')wpOnload();
</script>
</body>
</html>